put item t of "0,27,46,65,84,103,122,141,160,198,217,236,255,274,293,312" into col2top┬
put item t of "26,45,64,83,102,121,140,159,197,216,235,254,273,292,311,330" into col2bottom┬
put item t of "-2,-29,-48,-67,-10,-29,-48,-67,0,-10,-29,-10,-29,-48,-67" into col2scroll┬
set the col2_path of window wn to item t of "TOC2.1,TOC2.1,TOC2.1,TOC2.1,TOC2.2,TOC2.2,TOC2.2,TOC2.2,TOC2.3,TOC2.4,TOC2.4,TOC2.5,TOC2.5,TOC2.5,TOC2.5"┬
put item t of ",,,TOC3.1,TOC3.2,TOC3.3,TOC3.4,TOC3.5,TOC3.6,,,,,,," into col3path┬
if col3path = ""┬
then put 0 into col3choice┬
else put -1 into col3choice┬
get "194,"&col2top&",395,"&col2bottom┬
put "set the col2_rect of window wn to"&"e&it"e into setrect┬
do setrect┬
get "0,"&col2scroll┬
put "set the col2_scroll of window wn to"&"e&it"e into setscroll┬
do setscroll┬
if col3path<>""┬
then┬
put the rect of window wn into r┬
put (item 1 of r) + 594 into item 3 of r┬
set the col3_path of window wn to col3path┬
else┬
put the rect of window wn into r┬
put (item 1 of r) + 394 into item 3 of r┬
end if┬
set the colh3_visible of window wn to false┬
set the lockscreen of window wn to false┬
if the rect of window wn <> r┬
then set the rect of window wn to r┬
set the lockscreen of window wn to false┬
send redrawwindow to window wn┬
if col3choice=0┬
then┬
gochapter item col2choice of "2,3,4,,,,,,,61,62,64,67,73,74"┬
else┬
mapjump col2choice,col3choice┬
end if┬
end if
CURSOR:128
TYPE:Describe
PATH:@StackPath:Sample Text:myTextFile
RECT:194,7,394,450
HASFRAME:false
INSET:0
TRANSPARENT:true
EDITABLE:false
SELECTABLE:false
PAGE:0
NUMBEROFPAGES:2
SCROLL:0,0
HASVSCROLL:false
LINEHEIGHTFONTASCENT:-1,-1
SELECTION:32,31
DEFAULTFONT:Palatino
DEFAULTSIZE:17
DEFAULTSTYLE:plain
TEXTDATA:┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
┬
a
USERDATA:
MOVEMOUSETICKS:0
ALIGNMENT:Default
PAGEBREAKTABLE:1┬
24
TEXT
NAME:Text2
VISIBLE:true
SCRIPT:put item 1 of @ClickChunk - 1 into t┬
global col2choice,col3choice┬
put t into col3choice┬
put @WindowName into wn┬
put the text2_userdata of window wn into wheretogo┬
get item col3choice of line col2choice of wheretogo┬
if it <> "" and it <> "┬"┬
then┬
set the lockscreen of window wn to true┬
get the col3_path of window wn┬
put "H" before char 4 of it┬
set the colh3_path of window wn to it┬
get "396,"&(t*19)-12&",595,"&(t*19)+7┬
if item 2 of it < 19 then put 0 into item 2 of it┬
set the colh3_rect of window wn to it┬
get "0,"&((t-1)*19)*-1┬
if item 2 of it > -19┬
then put -2 into item 2 of it┬
else subtract 9 from item 2 of it┬
set the colh3_scroll of window wn to it┬
set the colh3_visible of window wn to true┬
set the lockscreen of window wn to false┬
send redrawwindow to window wn┬
get item col3choice of line col2choice of wheretogo┬